package com.woniuxy.service;

import com.woniuxy.entity.User;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface UserService {
    int login(User user, HttpSession session);
    int registerUser(User user);
    List<User> queryAdmin();
    int changeRole(int id,int[] roles);
}
